<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <title>15_案例练习-求整数1～100的累加值，但要求跳过所有个位为3的数</title>
    </head>
    <body>
        <script>
            var sum = 0;

            for(var i = 1; i <= 100; i++){
                if(i % 10 == 3){
                    continue;
                }
                sum += i;
            }
            console.log(sum);
        </script>
    </body>
</html>